//
//  UIButton+Extention.swift
//  网易新闻项目
//
//  Created by 薄文飞 on 16/3/6.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

extension UIButton {
    
    convenience  init(text :String , color: UIColor , font : UIFont) {
        self.init()
        titleLabel?.text = text
        setTitleColor(color, forState: .Normal)
        titleLabel?.font = font
    }
}
